load("@rules_cc//cc:defs.bzl", "cc_library", "cc_test")

cc_library(
    name = "greet",
    srcs = ["greet.cc"],
    hdrs = ["greet.h"],

)

cc_test(
    name = "test",
    srcs = ["greet-test.cc"],
    copts = ["-Iexternal/gtest/include"],
    deps = [
        "@gtest//:gtest_main",
        ":greet",
    ],
)
